package hibernate;

/**
 * CommentInfo entity. @author MyEclipse Persistence Tools
 */

public class CommentInfo implements java.io.Serializable {

	// Fields

	private String commentId;
	private UserInfo userInfo;
	private HouseInfo houseInfo;
	private Integer grade;
	private String content;

	// Constructors

	/** default constructor */
	public CommentInfo() {
	}

	/** minimal constructor */
	public CommentInfo(String commentId, Integer grade) {
		this.commentId = commentId;
		this.grade = grade;
	}

	/** full constructor */
	public CommentInfo(String commentId, UserInfo userInfo,
			HouseInfo houseInfo, Integer grade, String content) {
		this.commentId = commentId;
		this.userInfo = userInfo;
		this.houseInfo = houseInfo;
		this.grade = grade;
		this.content = content;
	}

	// Property accessors

	public String getCommentId() {
		return this.commentId;
	}

	public void setCommentId(String commentId) {
		this.commentId = commentId;
	}

	public UserInfo getUserInfo() {
		return this.userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public HouseInfo getHouseInfo() {
		return this.houseInfo;
	}

	public void setHouseInfo(HouseInfo houseInfo) {
		this.houseInfo = houseInfo;
	}

	public Integer getGrade() {
		return this.grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}